package parts5.lesson67;

public class Demo7 {
    //验证邮件地址
    public static void main(String[] args) throws Exception {
        String str="88547745@qq.com";
        //常规的邮件地址校验
        String regex="\\w+@\\w+.\\w+";
        System.out.println(str.matches(regex));

        //改变需求，email必须是字母开头

    }
}
